package cn.agiledata.bank.hibernateBean;

import java.util.Date;

public class UserInfoHis  implements java.io.Serializable {


    // Fields    

	 private Long id;
     private Role role;
     private String userId;
     private String userName;
     private String loginName;
     private String password;
     private String tel;
     private String userType;
     private String flag;
     private String activeCode;
     private String offerPerson;
     private String mobile;
     private String status;
     private String remark;
     private String sessionId;
     private String email;
     private Long version;
     private String createUser;
     private Date createTime;
     private String updateUser;
     private Date updateTime;
     private UserInfo userInfo;

    // Constructors

    public UserInfo getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(UserInfo userInfo) {
        this.userInfo = userInfo;
    }

    /** default constructor */
    public UserInfoHis() {
    }

	/** minimal constructor */
    public UserInfoHis(Long id, String loginName, String password, String tel, String userType, String flag, String activeCode, String offerPerson, String mobile, String status, String remark, String sessionId, String email) {
        this.id = id;
        this.loginName = loginName;
        this.password = password;
        this.tel = tel;
        this.userType = userType;
        this.flag = flag;
        this.activeCode = activeCode;
        this.offerPerson = offerPerson;
        this.mobile = mobile;
        this.status = status;
        this.remark = remark;
        this.sessionId = sessionId;
        this.email = email;
    }
    
    /** full constructor */
    public UserInfoHis(Long id, String userId, String userName, String loginName, String password, String tel, String userType, String flag, String activeCode, String offerPerson, String mobile, String status, String remark, String sessionId, String email, Long roleId, Long version, String createUser, Date createTime, String updateUser, Date updateTime) {
        this.id = id;
        this.userId = userId;
        this.userName = userName;
        this.loginName = loginName;
        this.password = password;
        this.tel = tel;
        this.userType = userType;
        this.flag = flag;
        this.activeCode = activeCode;
        this.offerPerson = offerPerson;
        this.mobile = mobile;
        this.status = status;
        this.remark = remark;
        this.sessionId = sessionId;
        this.email = email;
        this.version = version;
        this.createUser = createUser;
        this.createTime = createTime;
        this.updateUser = updateUser;
        this.updateTime = updateTime;
    }

   
    // Property accessors

    public Long getId() {
        return this.id;
    }
    
   

    public String getUserId() {
        return this.userId;
    }
    
    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return this.userName;
    }
    
    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getLoginName() {
        return this.loginName;
    }
    
    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getPassword() {
        return this.password;
    }
    
    public void setPassword(String password) {
        this.password = password;
    }

    public String getTel() {
        return this.tel;
    }
    
    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getUserType() {
        return this.userType;
    }
    
    public void setUserType(String userType) {
        this.userType = userType;
    }

    public String getFlag() {
        return this.flag;
    }
    
    public void setFlag(String flag) {
        this.flag = flag;
    }

    public String getActiveCode() {
        return this.activeCode;
    }
    
    public void setActiveCode(String activeCode) {
        this.activeCode = activeCode;
    }

    public String getOfferPerson() {
        return this.offerPerson;
    }
    
    public void setOfferPerson(String offerPerson) {
        this.offerPerson = offerPerson;
    }

    public String getMobile() {
        return this.mobile;
    }
    
    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getStatus() {
        return this.status;
    }
    
    public void setStatus(String status) {
        this.status = status;
    }

    public String getRemark() {
        return this.remark;
    }
    
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getSessionId() {
        return this.sessionId;
    }
    
    public void setSessionId(String sessionId) {
        this.sessionId = sessionId;
    }

    public String getEmail() {
        return this.email;
    }
    
    public void setEmail(String email) {
        this.email = email;
    }

    public Role getRole() {
		return role;
	}

	public void setRole(Role role) {
		this.role = role;
	}

	public void setId(Long id) {
		this.id = id;
	}


	public Long getVersion() {
        return this.version;
    }
    
    public void setVersion(Long version) {
        this.version = version;
    }

    public String getCreateUser() {
        return this.createUser;
    }
    
    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getCreateTime() {
        return this.createTime;
    }
    
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateUser() {
        return this.updateUser;
    }
    
    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public Date getUpdateTime() {
        return this.updateTime;
    }
    
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
   
}
